package com.slmxz.tms.document.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.slmxz.tms.document.model.entity.Cargo;
import com.slmxz.tms.document.model.vo.CargoVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 货物信息Mapper接口
 * @author sunyao
 * @Date 2024-11-15
 */
public interface CargoMapper extends BaseMapper<Cargo> {

    /**
     * 获取货物信息分页数据
     * @param page 分页对象
     * @return
     */
    List<CargoVO> selectCargoPage(IPage<CargoVO> page, @Param("cargo")CargoVO cargo);

}
